﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace WindowsFormsApplication1
{
    public partial class Form2 : Form
    {
        string b;
        int x = 20;
        public Form2(string a)
        {
            InitializeComponent();
            b = a;
        }

        private void Form2_Load(object sender, EventArgs e)
        {
            label1.Text = b;
            Form1.fn(x);
        }
    }
}
